package msgs;
import java.util.*;

/**
 * Used for querying online status
 * Team 9: Andrew Hayworth, Brian Parrella, Ryan Kortmann, Nina Papa
 * @author Andrew Hayworth
 */

public class QueryMsg extends ClientMsg {
	private String wantsUser;
	private HashMap<String, Integer> userList;
	public QueryMsg(String ip, String name, String pwd, byte[] key, String wantsUser){
		super(ip, name, pwd, key);
		this.wantsUser = wantsUser;
	}
	public QueryMsg(String ip, String name, String pwd, byte[] key, HashMap<String, Integer> userList){
		super(ip, name, pwd, key);
		this.userList = userList;
	}
	/**
	 * @return the wantsUser
	 */
	public String getWantsUser() {
		return wantsUser;
	}
	/**
	 * @param wantsUser the wantsUser to set
	 */
	public void setWantsUser(String wantsUser) {
		this.wantsUser = wantsUser;
	}
	/**
	 * @return the userList
	 */
	public HashMap<String, Integer> getUserList() {
		return userList;
	}
	/**
	 * @param userList the userList to set
	 */
	public void setUserList(HashMap<String, Integer> userList) {
		this.userList = userList;
	}

	
}
